<style>
	.layui-form-label{
		width: 86px;
	}
</style>
<form class="layui-form lyear-layout-content" method="post" action="{:url('admin/order/orderedit')}">

  <div class="layui-form-item">
    <label class="layui-form-label">订单ID</label>
    <div class="layui-input-block">
      <input type="text" name="orderid" disabled value="{$Order['id']}" class="layui-input">
	  <input type="hidden" name="id" value="{$Order['id']}" class="layui-input">
    </div>
  </div>
  
  <div class="layui-form-item">
    <label class="layui-form-label">订单号</label>
    <div class="layui-input-block">
      <input type="text" name="code" disabled value="{$Order['code']}" class="layui-input">
    </div>
  </div>
  
  <div class="layui-form-item">
    <label class="layui-form-label">手机号码</label>
    <div class="layui-input-block">
      <input type="text" name="mobile" disabled value="{$mobile}" class="layui-input">
    </div>
  </div>
  
  <div class="layui-form-item">
    <label class="layui-form-label">配送地址</label>
    <div class="layui-input-block">
      <input type="text" name="addrid" disabled value="{$RegionText}" class="layui-input">
    </div>
  </div>
  
  <div class="layui-form-item">
    <label class="layui-form-label">配送单号</label>
    <div class="layui-input-block">
      <input type="text" name="expcode" value="{$Order['expcode']}" required  lay-verify="required" placeholder="请输入配送单号" autocomplete="off" class="layui-input">
    </div>
  </div>
  
  <div class="layui-form-item">
    <label class="layui-form-label">快递选择</label>
    <div class="layui-input-block">
      <select name="expid" lay-verify="required">
        <option value=""></option>
		{foreach $ExpressList as $item}
           <option {$Order.expid == $item['id'] ? 'selected' : ''} value="{$item['id']}">{$item['name']}</option>
		{/foreach}
      </select>
    </div>
  </div>
  
  
  <div class="layui-form-item">
    <div class="layui-input-block">
      <button class="layui-btn" lay-submit>立即修改</button>
      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
	  <a href="{:url('admin/order/order')}" class="layui-btn layui-btn-primary">返回</a>
    </div>
  </div>
</form>
 
<script>
//Demo
layui.use('form', function(){
  
});
</script>